package com.wang.cloud.common.mysql;

import com.wang.cloud.common.mysql.config.MyBatisConfig;
import com.wang.cloud.common.mysql.handler.MyMetaObjectHandler;
import jakarta.annotation.PostConstruct;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.EnableTransactionManagement;


/**
 * @author wangye
 * @date 2023/7/11 0011
 */
@EnableTransactionManagement
@Slf4j
@Import({MyBatisConfig.class, MyMetaObjectHandler.class})
public class EnableAutoConfiguration {

    @PostConstruct
    public void init() {
        log.info("加载common-mysql模块");
    }
}
